angular add html attribute on condition

40

angular add html attribute on condition -

<input [attr.attribute] = "condition ? '' : null" />

Comments

Submit
0 Comments